
var express = require('express');
var router = express.Router();
var sceniclistController = require('../controller/sceniclistController');

router.get('/sceniclist',sceniclistController.sceniclist);//景点列表
router.get('/shoplist',sceniclistController.shoplist);//待条件商品列表
router.get('/allshop',sceniclistController.allshop);//全部商品列表
router.get('/findgoods',sceniclistController.findgoods);//获取所需商品列表
router.post('/addsceniclist',sceniclistController.addsceniclist);//添加景点
router.post('/addticketlist',sceniclistController.addticketlist);//添加商品信息
router.get('/ticketdetail',sceniclistController.ticketdetail);//获取票的详情信息
router.post('/reservemessage',sceniclistController.reservemessage);//存取预定单信息
router.post('/updatereservemes',sceniclistController.updatereservemes);//更新订单信息
router.post('/savetocart',sceniclistController.savetocart);//保存到购物车
router.post('/onlyreserve',sceniclistController.onlyreserve);//确认预定支付定金成功
module.exports = router;